﻿@model int?

<div>
    @Html.LabelFor(m => m)
</div>

<div>
    @(Html.Kendo().IntegerTextBoxFor(m => m)
        .Decimals(0)
        .Min(int.MinValue)
        .Max(int.MaxValue)
        .Spinners(true)
        .HtmlAttributes(new { @style = "width:100px" })
    )

    @Html.ValidationMessageFor(m => m, string.Empty, new { @class = "k-block k-error-colored"})
</div>
